package com.cskaoyan.service.wx;

import com.cskaoyan.bean.BaseParamBo;
import com.cskaoyan.bean.pojo.Comment;
import com.cskaoyan.bean.pojo.Order;
import com.cskaoyan.bean.pojo.OrderGoods;
import com.cskaoyan.bean.wx.order.bo.AddOrderBo;
import com.cskaoyan.bean.wx.order.bo.CommentBo;
import com.cskaoyan.bean.wx.order.bo.PageInfoBo;
import com.cskaoyan.bean.wx.order.vo.OrderDetailVo;
import com.cskaoyan.bean.wx.order.vo.OrderIdVo;
import com.cskaoyan.bean.wx.order.vo.OrderListVo;
import com.cskaoyan.bean.wx.order.vo.OrderVo;

import java.util.List;

/**
 * @Name : WxOrderService.java
 * @Time : 2021/8/15 14:43
 * @Author : Xfeng
 * @Software : IntelliJ IDEA
 */
public interface WxOrderService {
    OrderListVo list(Integer showType, PageInfoBo pageInfoBo);

    OrderDetailVo detail(Integer orderId);

    void cancel(OrderGoods orderGoods);

    void refund(OrderGoods orderGoods);

    void delete(OrderGoods orderGoods);

    void confirm(OrderGoods orderGoods);

    OrderGoods goods(Integer orderId, Integer goodsId);

    void comment(CommentBo commentBo);

    OrderIdVo submit(AddOrderBo addOrderBo);

    void prepay(OrderIdVo orderIdVo);
}
